package cn.lycode.system.domain.dto.sysrole;

import cn.lycode.common.annotation.valid.NotZero;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author sz
 * @date 2023/8/24 15:28
 */
@Data
public class SysRoleUpDTO {

    @NotZero
    private Long id;

    @NotNull(message = "角色名称不能为空")
    private String roleName;
    private Integer roleSort;
    private String remark;

}
